package com.yzh.message;


import lombok.Data;
import lombok.Getter;
import lombok.Setter;

//lombok通过⼀些注解的⽅式, 可以帮助我们消除⼀些冗⻓代码, 使代码看起来简洁⼀些
//@Data 注解会帮助我们⾃动⼀些⽅法, 包含getter/setter, equals, toString等
//@Data = @Getter + @Setter + @ToString + @EqualsAndHashCode + @RequiredArgsConstructor + @NoArgsConstructor
@Data
public class MessageInfo {
//    @Getter @Setter
    private String from;
    private String to;
    private String say;
}
